import { createStore } from 'vuex'

export default createStore({
  state: {
    "id":-1,
  },
  mutations: {
    setId(state,id) {
      state.id = id;
    },
    
  },
  actions: {
    changeId(context,id) {
      context.commit('setId', id);
    }
  },
  modules: {
  }
})
